Working ladders

 - Working ladders
 - Tidy up some trailing whitespace
 - Add test cases for a full ladder climb, and an early exit