added provided code to problem 3.1
fixed typos in 3.1
reading done
Saad add me as a contributor