finished first homework programming assignment