Changed all tolower function from (int(*)(int)) to ::