Added debug flag (something went wrong with the kDevelop)
Clarified when destructors are called
Added code to test
Added empty array declarations