Added the implementation for iterations in the grammar (that had not
been done yet)