[scala] Add Leap solution