Card matching games based on Stanford's CS 193p (in Swift)