rprog-005: finish week 4