cs343 assignment 6