C and Python Codes added