Exercise for CMSC 129