HW3 bdd part1 completed