Answer to exercise to reversed char sequence question from java
tutorial web site