CMSC 161 Exer 6