hw3.task2.hs added