A compiling code.
A modified approach with just lambdas.
First working version.