working on parsing ASCII string to binary number