fixed segmentation error
Merge branch 'master' of https://github.com/cc-nk/Assignments