Algorithm For Solitaire Thyroid Problems