Efficient Distributed Handshake Using Mobile Agents -- Improved Distributed Exploration