Remove strtol use in favor of bit shifting.
Merge pull request #8 from balr0g/strtol-cleanup

Remove strtol use in favor of bit shifting.