do and do-while added to tutorial