Problem 6 working
Done with Problem 6