Added Greates Common Divisor algo

Change-Id: I82442a71a82ed1f5f8a79b5fed8e107cb6a86ec8