Added solution for and logged problem 8