started on Memory class. For saving previous explored territory and path back to start.