added some comments with respect to the implementation and some todos for quick sort