submitting part 1 of assign-3