finished digital logic assignment 4