Programming assignment 1 for reproducible research by Roger Peng Coursera