added coursera week 2 file. contains simple functions created while going through video lectures.