Implement the function GetElem() for ListOper.cpp (Need to add test function).