Wrote initializer function for setting up the chip8 structure