Exercise solutions from Seven languages in seven weeks (pragmatic programmers bookshelf)