Everything seems to be up and running!

Not the most elegant of coding, but I came up with it all without
looking at other peoples' programs.