intro to comp: assignment 4