Lab 3 for CSCI3155 (Principles of Programming Languages)