Heat Equation from a Deterministic Dynamics