Saltburn care home residents have painted wooden dolls for an exhibition marking the 200th anniversary of a Teesside railway line.