changed graph and sorting class names to util
 fixed quick sort