Added method to print students whose name is shorter than 12