First version

Contains the first approach for the resolution of the problem.