Elementary student in Cook brings firearm to school