problem 5 in scheme