removed putIfAbsent from countLanguagesUsingLoops

since it was meant to be a traditional solution