Ls function now print out a sorted array with all files in the top with a # and all the dirs below without a #. resolved #1