Before they can walk or talk, infants start to do all sorts of cognitive feats that seem awfully smart for a baby.