Corrected main_path issue with pointers, fixed closedir() issue
Removed unnecessary memory testing code
det_depends.c now used in main()
File being read no longer determined by the AST

Thank the flying spaghetti monster...
Now throws an error and exits upon reading a folder as a file...