Building a Raycasting Engine in Python