Java based basic raytracer