adding pull request for 5_3

added the program for chapter 5 question 3 in swift