Java functions demo package