Updated license
Added negative number check
Basic fermat factorization implemented
Functions renamed