fixed quickSort method call from the main