speedup for convertToBinary
Merge branch 'master' of https://github.com/gnrhxni/CS542

merge