Made the entity collision code use the name of the entity rather than assuming a collision with player when displaying a message in console.
Added documentation to the collides method on Entity.