Uncommented add stub for implementation
Implemented add function with another array, untested.