Updated the delete function so that you can delete down to a 0x0 table. Also changed all the 3-space indents to 4-space indents since my IDE was complaining about that.