Returns length of shortest chain to reach ' target ' from ' start ' using minimum number of adjacent moves . D is dictionary
static int shortestChainLen ( String start , String target , Set < String > D ) { if ( start == target ) return 0 ;