Alexander Hamilton, Revolutionary