adding final method - isTwoPair...need to finish