First commit.
Added solution for problem 1 and problem 2.