Curiouser and Curiouser: Children's intrinsic exploration of mazes and its effects on reaching a goal