added move function to board and getPiece to tile