Added my Java solution

Hi Jack, here's my Java solution. Hope you've had a good Christmas!