added GCD, LCM classes and their unit tests