Java implementation of http://programmingpraxis.com/ tasks.