work on test cases. can it be that one of the sample problems is wrong?
surely not...
more tests