ft_ls: new functions added to main