adding solutions from 17 Nov contest of round 4
Merge pull request #6 from pvasilyev/master

adding solutions from 17 Nov contest of round 4