Merge pull request #9 from dlazell/buildorder

changed to work with new units in hmm, fixed console commands, changed selection of closest state, working on build order stuff
implemented getClosestState by using a set sorted by size.
implemented getClosestState by using a set sorted by size.
removed vector from code.
changed getClosestState to the original