Fixed head deletion bug, removed some print and old tests from test file
Removed debug compilation flag