added comment for exercise on implementing map in terms of traverse