Feature/greedy pso implementation