added quicksort to mfqs
merged changes to input.cc