added first programming assignment input text files
implemented solution to problem 1 and 2 of programming assignment 1