added zag funtion, first successful weave tile