Implements Randomized Quick sort
Create Graph class and implements BFS and DFS