update cbb520_hw2_part5 python script