Update filesystem.cc

Fix a bugged in the rmdir.
Added tree functionality to traverse via DFS of the current directory.
Minor bug need to fix on display, but still works.