Build the bridge to connect Two islands each other only vertically or horizontally and with no more than 2 bridges.