Memory bug fixed and added gpd program (greatest prime divisor)