Added negative numbers and test case.'
Merge branch 'master' of https://github.com/YichiLL/4115PLT