added problem 4 python solution
Merge pull request #5 from benfa94/master

python solution for problem 4 added.