New school becomes first in world to use old train carriages as classroom