Re-wrote autoCorrect program