Remove useless array in part event

Here, `array` serves no purpose but to make `index` have a value of `1`. Even
then, `index` is just going to be redefined a few lines later.

Closes #4
Merge pull request #4 from KenanY/cleanup-part

Remove useless array in part event