finished
added a third iterative function, updated README