Completed the first two problems.