Added my Java solution