A Fast Algorithm For Data Mining