added array methods concatenate() and expand_dims()