exercises foreach