Numpy Loop Through Array In Python Example