Hamilton Extension Criterion for Ricci Flow