First commit. The argorithm works xD