added algorithm that delete a node on the single linked list.