CS 241: fixed typo ''setchar'' -> ''getchar'' (thanks Xenia).