Attachment: programmable pattern sewing machine