added needed methods to GameBoard.java and added code to GameThread.java