assignment 1 for cscie 18