A high school student is charged with a felony after bringing a BB gun to school