Completed question 5.

C++ is so fugly.