I could not understand the criteria you used to define which symbols are
assigned to "1" key and which are assigned to "0" key.
IMHO you should adopt a clear criterion, such as punctuation and parentheses
assigned to 1 and math operators assigned to 0. Also, please do not forget the
@ symbol!