Initial test of char input for problem2