Var type fix.
Main now check fitness computing and quicksort.