Second assignment question 1 to 11 working.