The enthalpy change for the reaction is 25.7 kJ per mole of ammonium nitrate disolved. How many moles of ammonium nitrate are you dissolving?
Also, for your m, you need to consider the mass of the water because that's what's cooling down, not the ammonium nitrate itself.
Finally, since the reaction absorbs heat, your q will be negative (so that T_final < T_initial)