classical liquid measure problem written in Racket