Added CalculateGreatestCommonDevisor