Codes I wrote when learning python