CSI3120 Assignment 4

Finished solving question 2