Some refactoring being made.

Some refactoring regarding the kidney depth and the K factor. Their
calculation code was put in separate functions.
The executable is now living in “executable” folder.