Assignments for my Java class.