Update ladder.go

After extensive benchmarking, change ssspBFS to use simpler loop but extra memory reference. Not slower in -B builds and not meaningfully slower in 30-second benchmarks. cleaner this way, so better educationally. Also, change mode from uint8 to bool. No performance change (give the implementation) but cleaner as well.