changes made to fix build error
code for finding pieces and building game state