Add while loops to the compiler