Made inputs to word change solver case-insensitive