Central North Rugby: Barraba pip Gunnedah 39-38 in a thriller