Create array.cpp

This is only used for the demo code. We aren't going to be using this.