Edited for-loop in immCat function to be compatable with the universities older GCC compiler
Edited for-loop in immCat function to be compatable with the universities older GCC compiler