Answers to blakeembrey/code-problems