solve exercise 3.23

a brainfuck here, helping to understand how list works in scheme