Accessing One Dimensional Numpy Array using for Loop in Python