Modelling of surface chemistry on an inhomogeneous interstellar grain