[Shell] Finished dynamic array code