Rewrote refers and referred, implemented loop detection and moved to
HeapObjects, ClassInstance and Array
changed detect methods to new refers and changed error messages
used the new referredBy method and changed error messages
implemented usage of new refers and referredBy methods and changed error
messages
implemented usage of new refers and referredBy methods and changed error
messages