Solved PermMissingElem in C