Start of the project :: first algortithm