job array struct starting to functions

Now able to run job arrays based upon the new job array data structure.