First attempt at writing a Nes Emulator in Ruby