Added solution for and logged problem 5