added new function that converts if, while, etc statements. also fixed problem with semicolon printf
fixed problem with printing semicolons at blank lines and print functions