Updated README.
Solution for #1 in Python.
Solution for #2 in Python.