A computer simulation of an amorphous thin film on a crystalline substrate