Add gitignore
Clean build for cpt_yash. Remplace distance by get_distance to avoid conflict with std::distance (bug occured only with MPI)