quick sort done
altered load_data func signature