programming assignments 2 initialized.