Java Investment example by Peter Lohmander