assignments for my Java class