making tests pass for digital root game