Threw in some solutions for 4 and 5, a makefile, and a license.