finish part of assignment3
add test file