added p_and_g_4 base file. Just copied the ripple carry adder.