Various code I have written in Python