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