A few bits of clean up

Remove the unnecessary need of calling a method and calling the same selector by  performing a selector on main queue.
Replace long number syntax with boxing syntax, @().
Used array short notation, array[].
Made a constant for index.
Fix memory growth with example code.