Adding Objects To List Python Functions