patched

Fixed a declaration error with a vector
added extra debugging flags for the compiler
updated license

Signed-off-by: lg188 <lander.ghekiere@gmail.com>