refactored antstate

more generic antstate without assumption on which entity created the ant
and what data it stores
fixed fundamental diagram bug

fundamental diagram did not take number of lanes into account