finished HomeWork1, verified results