Project 5A for CS 537