Some more comments in 'main.py'
Solution files will print the solution when executed standalone.
Solutions to problems 2 and 3.