programming assignment 4 initialized.