created quicksort for ints in C
created quicksort test, TODO: add more thorough tests
added empty graph or foreign node check