Refactored colony and runner, pass state to the algorithm