match 3 game (C++)