A simple ray tracer written in Java and Haskell