Function to read args in c. Designed for ft_ls