Added C and Assembly code