Implementing a Game Boy emulator in Ruby