Practicing Javascript concepts for the methods map, forEach, and reduce