removed unnecessary []

A dynamic array, when declared, is 0 length array, no need to initialise it with [].

No need to put [] around elements being appended.