started filling the gaps in assign1_2.c