created MapHelper.java for simple map functions and fixed source code in
MainActivity.java