Granite City student takes second place in writing contest