CS314_Assignment4