Update Assignment1_260290265.c

fix the memory location calculation issue, basically part 2 is done.