fixed problem 2 solution
finished problem 3 from assignment 3
added problem statement and valid input file