Fix broken integer_decode function
Merge pull request #8 from Akrog/fix_integer

Fix broken integer_decode function