refactored AI algorithms to be self contained and have a constructor
added javadoc and extended comments
generalised code to allow any sized board and any number of connect tokens. experimental