Implemented memory matrix game