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

Change while loops with foreach