Java based raytracer