writeup on how to interpret for loops, and fixed the compile-warnings
update