Add greedy solution
Make generic solution printer in Main