part1 for comaparison with mayank127/raytracer