Update EntityManager.java

Added getEntities() to return the SortedList containing all of the entities.