exploring various array functions such as adding, removing, finding, and sorting