implement gen_matches()
Merge branch 'master' of https://github.com/osuHackathon/hackathon