Implmented Equals method for Ticket comparison