Some of the students even tried to climb through the windows to get on board the train after taking the Railway Recruitment Board exam on Sunday