Replacing An Element In A List Python