Directions
Given a string, return the character that is most commonly used in the string. Make use of functions and methods where necessory
You can code this with any language of you choice!
Examples
maxChar("abccccccd") === "c"
maxChar("apple 1231111") === "1"