delete commits add Map<int,int> in main.cpp