Replaced 0b constants with 0x constants

- 0b constants (sadly) are GCC extensions and seemingly unsupported by
  everything else
Tabs to spaces
Merge pull request #1 from Sep102/master

Tabs to spaces and compiler compatibility fixes