resolves #4

World now takes track of the number of created entities and uses this as
key each newly created Entity.
Also added a add_entity function.