Added solution for PermMissingElem problem