Old peices of code from past assignments