finish assignment 1-4
Merge pull request #1 from Niranrat/assignment1_4

finish assignment 1-4