Test code from when I was learning C