The surprising benefits of teaching children to code