Added problem 1 solution in Python.
Added problem 2 solution in Python.
Added problem 3 solution in Python.
Added problem 4 solution in Python.