Added problem 22 solved in python