finished my part of Hw4