Java puzzlers examples