Problem
1. Write a procedure to display a given array of intensity values using the ordered-dither method.
2. Write a procedure to implement the error-diffusion algorithm for a given m by n array of intensity values.
3. Write a program to implement the basic ray-tracing algorithm for a scene containing a single sphere hovering over a checkerboard ground square. The scene is to be illuminated with a single point light source at the viewing position.