ft_atod
3 functions