Pattern formation by Autonomous mobile robots