Update LEC-CH2-loop_with_while.md

add main code part.