Implementation And Evaluation Of Goal Selection In A Cognitive Architecture