finished CS441 homework one