Statistical Mechanics From Unitary Dynamics