added displayBoard() method
changed method names
changed getBoard() to getState() and displayBoard() to displayState()