Update NineManMorris.js

Refactored the code to create a separate GameBoard object, also created x, y, and sideLength variables in the GameBoard object