New Zealand beat South Africa by four wickets in the World Cup