ass2 for r programming in coursera