-Bug fix for hw1 input parsing