Added HW00.R code