How to knit a shawl on a knitting machine