Tested program and fixed some of the found errors.
The program can print all files in the current directory and can handle
    the -a flag.
Fixed the losing of memory that was happening.
The program can acknowledge when to print long list format, but it cannot
    do so correctly; will have to look to see if information is being
    added properly.