note and exercising code while reading CSAPP