Added solution to problem 22 ("Names scores")