Update whil loops with foreach
Merge pull request #18 from acidvertigo/patch-18

Update whil loops with foreach