Memory Game

@afeld Please review and comment
How could you reduce the size of this method?