DWU men snatch win over York in thrilling fashion