Add Solution, update to python syntax.