Start mapping algorithm

Start the mapping algorithm by adding a method to take a random
action when no best path exists and update the state table/current
state/episodic memory.