Implement Rasterizer in CPU