Added convertMap function. Changed split parameters for splitting words.