Refactored to have an alternate grid implementation that wraps at the edges and some initial work on a  JavaFX GUI.