Fixed for negative numbers
Merge branch 'master' of https://github.com/petercarrjones/java-ch3