change map typedef, begin toString()

std::to_string() (which will be used in our toString() methosd for
Course and Student) is not recognized by MinGW, so the compiler needs to
be patched for this to work.