Exploration and Mapping in 2D Using Mobile Robots