Update GameBoard.java

Errors fixed, works fine.