Finished basic agent logic. Added tryGo and tryDo wrappers for actions.