Learning the machine basic sewing