iterating on collection
//creating iterator n for collection numbers for(Iterator n = numbers.iterator() ;n.hasNext(); ) {