Change while loops with foreach
Merge pull request #19 from acidvertigo/patch-19

Change while loops with foreach