changes from using an array for our monsters and entities to a linked list