Modified delInodes to use ArrayList rather than HashSet