counts instance of objects and decreases the counter when they are killed
practice for do while loop
added a print method
added the deletion
including method of deleting the first element in the list by simply pointing to the next element
added comments
added a method to print the length of the linked list
used an iterative method only
add an attempt for a recursive solution called listLength1()
However cannot figure out how to stop the counter from reseting, need to work on it more
the recursive iteration happens 7 times(as many as are in the list, but I am not capturing it correctly
an example of a doubly linked list using the same code
added a pointer for previousPatient and another getter method for the previousPatient pointer
linked to DoubleHospitalManager.java, where the list is initialized and the launch method lives
linked to DoublePatient.java
doubly linked list, has a forward and backward print method
backward print method has dodgy results, probably as I am leaving loose pointers somewhere-need to look into further
added backward print method
amended the