Initial Java solution commit