Added array push, pop, and shift functionality