game class
switched from list to dictionary

changed array indices to dictionary keys for speed