added foreach exercise
added part 2
aded part 3