added out files for problem 1 and started problem 2 code