Team effort gives Mudgee Public School a win on court