How do I remove Items in an array?

Okey. Why using it at all? n1 and n2 contains the information, both are integers.

What is the other layer of the code? For what is it used?