for example , before i was fired , my development team was using multi-agent processing to enable computers to learn , to recognize patterns in data , to understand natural languages , to prioritize and switch tasks .