Peter Norvig's Scheme in Java.