For CS 2110 assignment #2