Create ordered_array.c

Adding ordered_array.c from JamesM's tutorial