Refacored loop
Finished level 20