Initial commit.
Solution to problem 1.