r programming course assignment 3