methods for checking for valid move, init board array