added Simulator class
contains BlockCodes and EnemyCodes