Added lookup tables to get index from row and column, and vice versa.
Minor changes to color and gamestate
Merging