Adding algo solutions.