James Buchannn sworn in as President