Add solutions and unit tests for chapter VI