Head function better implemented

Head class now has a delete function plus logic functions