Student brings gun to campus on first day of school