iteration done

the change over to iteration instead of threads is done
Merge pull request #18 from emreijnders/Iteration

iteration done