A new computer program can recognize people's emotions based on how they type, paving the way for computers that could one day be smarter than humans — a concept called "the singularity."