Compare Values In Array Python Question