wrote function 3
Merge pull request #5 from a7medfahmy94/mohamed_make_function_3

wrote function 3
merge with master