Inserted snippets from Raytracer02Snippets.java. Code contains erors. It is not runable.