Study shows how thumbs helped shape the brain