Added program ray.py