Attachment: programmable electronic pattern sewing machine