Issue #3. Added equals method to Element objects.