Problem set from Computer Science III (CSC240)