added ladder length sol
conflict resolved