Best rate calculation for a borrower from a pool of lenders in a P2P scenario