deleted and renamed some variables and methods. Need to get rid of infinite loop that is caused by updating of board before the game is started.