added solution for problem 1
Merge pull request #1 from Jawshouamoua/master

added solution for problem 1