Added some minor changes to word ladder