Foreach exercise version 1