Demo for "Number of Bad Pair" and "Number of  Isolated Point"