Example code for CSE 330 at CSUSB.