You are reporting the paste Graph theory stable matching example.