second example w/map, result is a tuple with (x,x^2)