Addition of a sample
Implementation of foreach