Small ad lib Java programs