Fermat's Last Theorem: A Historical and Mathematical Overview