P93: Added Java solution.