cs253 homework up to unit 3