Add solution to programming question 5
Add solution to programming assignment 6 questions 1 and 2