Added solution for and logged problem 9