Update GameBoard.py

renamed "ends" to "legal_moves"