A mobile ad hoc network simulator with a nice SDL viewer