The challange is to restart spirals when they touch the edge. The main difficulty is to find the way how to make both spirals restart at the same time when one of the spirals touches the edge.