Remove colored balls from the board by forming lines