added ladder length sol