A lot of optimization in table_of_items and collision_detector by using maps. Now twice as fast, but still getting big lags ar 50 ants.