Creating Hierarchical Dispositions of Needs in an Agent