Finished off the ladder problem