Worked on main() function. Got the agents to initialize and the assignments to terrains to work.