Update Loops.md

make code work