Refactor to extract two element matching methods. Updated README