LING572 Hw4 (Feature selection and chi square)