Update to Memory Game project

Reorganized the code, added four new classes.