finish hw3 parser