STOCKHOLM, Sweden -- A chimpanzee who calmly collected a stash of rocks and then hurled them at zoo visitors in fits of rage has shown the animals can plan ahead just like humans, a study said Monday.