(C++) Added example implementation of Array and HashMap