Update prog.r for part 3c
Update readme.md