add two solutions for addBinary.
The first one is easy to understand but not compact.
The second one is inspired by 9Z, and needs more tricks.