Molecular dynamics simulation of diffusion of simple gas molecules in a short chain polymer