Strategy Engine for Programming Intelligent Agents