Reverse Array Python Remove Duplicates