Main functions to data mining to calculate 6 best and 6 worst stock