added 2/3 dimensional array creator funcs
end all loops with the same keyword
Merge pull request #23 from tinnet/master

added 2 and 3 dimensional array allocation/creation functions