Added maps without agent and goal. Added a check for agent before running
A* algorithm