Update arraysub.cpp