Solved up to problem 11