Started adding while bits

Started adding bits for while loops