Children as young as three years old are willing to punish others' bad behavior, even at personal cost, finds a new study by psychology researchers.