Add solutions and simple unit tests.