Python implementation of Chip8 virtual machine