P64: Added Java solution.