Programming Assignment #2 done

contains two functions and comments on them