Role of cell polarity dynamics and motility in pattern formation due to contact dependent signalling