gdwangh update for R Programming Assignment2