Finished hwk4 part1