implemented algorithm to allow players to move around board
implement algorithm to allow plays to move around board