Implemented semicolon insertion