Class 5 steam locomotive terminates at Whitby railway station.