Added basic working example with one iteration