Implement my-map function partially (all tests not passing yet).