repo for rprog course assignment 2