 euclidian algorithm algorithm 7 