Ants implementation based on gb_trees 

Line 74 is too long: "    TiledAnts = lists:map(AssignTileToAnt, gb_trees:values(Env#env.agents)), %added: Conversion into list".