Bejeweled-like game (C and Allegro 4.2)