remove unecessary initialization from the delete last node funciton.
revised the delete function.
revised reverse linked list function.