CSE310 assignment