create gameplay logic so when triples are found, they are removed from the board and the remaining pieces drop. working version