Implement Greedy and Random solvers