COMP6035 Assignment2 Part 1