rprog-005: finish week 2