raytracing

Can anyone out there give a simple raytracing code probably with a couple spheres. Iam trying to get a raytrace program to work but Iam not able to get it up running.