Create maj.cpp

how are map values initialized? this works but assumes += on initial value is 0.