Integrated checks into each week's executables

Also changed a lot of the code structure for (hopefully) improved style, readability, and navigability.