adding leading zeros to code that are truncated by int type
Merge pull request #1 from capen/fix_truncating_zero

adding leading zeros to code that are truncated by int type