2D Robotic Mapping using a Grid-based Fast-Slam Algorithm with Applications of Reinforcement Learning