Start of the solution for hw2