Building artificial memory to autonomous agents using dynamic and hierarchical finite state machine | IEEE Conference Publication | IEEE Xplore