Simulation Modeling and Programming for Autonomous Robots