update assignment03 from standford