Programming Assignment 2_Nanjun Lu_Update

This is my updated version, please ignore the previous final version,
thank you!
Merge pull request #1 from OliverLu/Programming-Assignment-2_Solution_Nanjun-Lu

Programming Assignment 2_Nanjun Lu_Update