modified checkIfDepartmentinUse Function
updated
added getAllchildDepartments
Merge branch 'master' of https://github.com/tapandtypeahm/minex