can now flip tiles. continuing with function checkMatch.