Programming assignment #2, R Programming cours