Describir: The use of evolutionary programming based on training examples for the generation of finite state machines for controlling objects with complex behavior