[Task] Add solution to the assignment 2

Source codes for the assignment 2 is finalized.