task for Stanford cs184