Fixed comparison between signed and unsigned integers
Merge pull request #5 from bobbaluba/fixunsignedcomparisons

Fixed comparison between signed and unsigned integers