A Flexible Visual Simulator for Wireless Ad-Hoc Networks of Mobile Nodes