20141021: Almost done with hw9, need to do 4c