updated ctci_01_01.py and ctci_01_02.c