Simple Raytracer with debbuging feature