racket solution for q012