Added chmod functionality. Not yet tested
Implemented function readdir for the ls functionality