changed null to NULL in C-code (freeing up the memory occupied by the C-struct cellProp)