Added all old codes of DSA