Code in Python and C from University Course.