Added a return value to deleteRecursive()