Tweak: use enum instead of ints.
Merge branch 'master' of https://github.com/IanDarwin/javasrc
String reverse, two ways, with test.