Ad Hoc Network Simulation