Recognizes possible tile combinations