Implementing the Resident Matching algorithm
This will create fake data on the fly, run the match, and print a summary of the results
ruby match.rb
rspec
Borrowed and tweaked from the stable marriage problem
I take no credit for the algorithm. This is meant as a learning exercise and free for anyone to use and modify.