Added delDir function

Equivalent to rm -rf.