Algorithms in algebraic number theory