Development of a Software Simulator for P colonies - Applications in Robotics