How is a sewing machine a compound machine?