hw from CSC415 @ sfsu