rmdir implemented and working