fermats sandwich theorem