Code from homeworks I do in my data structures class