Greenidge gives locomotive to rail museum