working on ladder length, still need to handle visited nodes.