Add test to ensure eager and lazy solutions to problem 2 produce same answer.