Homework on R function environment.