Update intro.md

small fix to code so that output of the two for-loops over vec is the same