Filter Array Of Strings Python