clrs; problem 10.1 - comparisons among lists