Update main.c

Added utility functions createDoubleArray(x, y) and createIntArray(x, y)