Implement do and while loops