added greedy jobs schedueling and prim's algo