Old codes

Uploading slightly modified versions of my codes from previous
assignments.  Additional modification required.