Code from my attempt of learning the glorious C programming language