Fixed a bug conserning the exception message if an ethernal loop has appeared.
Added a licence notation
Altered the ethernal loop exception to give more information about the problem.