A very stupid ray-tracing engine for CG course homework