Added the rest of the assignments' sample code.