coursea r programming assignment