When Grant first arrived in Mexico in 1846 and heard the sound of distant cannon