added equals/hashcode methods to aptamer and minimal aptamer