Code and tests for Programming Problems Volume 1