Porting Minecraft Pi to Python 3