ex9 - state input and output
ex9 - print individual chars in reverse
ex9 - remove stray bracket