Assignment4 Ex1 part1