Added solution to set 1, challenge 5