Needlework Doctor: How to Solve Every Kind of Needlework Problem