the default configuration on mac - textEdit is smart quotes (checked)
which causes problem
1)go to preferences of text edit
2)uncheck smart quotes option
3)close textEdit
4)start again
5)modify your program
6)compile it
7)Task Completed
BOOM