[Task] Add solution to the assignment 2

Source codes for the assignment 2 is finalized.

The vector projection part is wrong but it is not going to be fixed.