Forks of n/2 matching numbers : pseudocode