Update ladder.go

Rewrote findComponents. It is clearer now, but just slightly slower on longer (>100k word) lengths.