Comparing Two Arrays In Python