p036: tweaked in python, solved in scala
Added a scala solution for Problem 31
Remove repeated parameters from Problem 031 solutions (scala and python) for readability
Cleaned up problem 36 solutions and drafted an explanation.