Maps the torus( donut ) and cube to terminal using rasterization algorithm. For lines bresenham is used. For lighting lambert shading is implemented.