Create perm_missing_elem.cpp

Solution to the PermMissingElem problem