Added files for first alg