Update for the words ladder length

This code is still buggy