Completed logic for gameEngine.connectLine

Fixed bug in lineSet where variables were being declared in global
namespace.
Completed main logic for gameEngine.connectLine

Added lineSet and boxState to config so we can mock them for testing.
Added methods to cycle player if player does not score.
Added method to check if the game is over.
Completed logic for gameEngine.connectLine.
Fixed bug in
Abstracted some logic into boxState object
Added methods to sum up the current scores.