Implement "2.2 Retrieving the overall solution"

- implement final kernel
- put together the solution