Added toString(), equals() and hashCode() methods to Target class.

These methods will be used for debugging purposes.
Added toString() method to TargetCollection class.

It will be used for debugging purposes.