adding weights to parent objects to help with the creating of word ladder of user defined size