Class assignment code with explanations