Added code for future use of episodes in long term memory