Organized Code

Cleaned up the code and better organized it for easier navigation.
Added code for a two dimensional array.
Added code for a three dimensional array.
Added code for a four dimensional array.