added arrayCreator.js function
Added PHP functions for easy use of arrayCreator.js