Coursera rprog-016 Programming assignement #2