How To Parse Through A List Python