Fixed statement bug, added while and do...while.