Machine knitting with a jacquard attachment that makes patterns by using different coloured yarns