ft_lstmap() working and safe from empty list