why did I use int**** and no commenting?
minor updates; still sorting out the 3d array
got rid of the structs/malloc - keeping it local for now