foreach exercise 1