added egcd() to 'integers'