added method to Word model to find path to other Words