Remove all tiles by connecting two identical tiles. The connecting path cannot have more than two bends.