Part 1 Completed

This is the code for the completed part 1