moved some example functions into their own files
functions for working with arrays
examples