Finished program. Ensure program ends after target is found in word chain.