My first real attempt at a program of my own creation.