HW6: Semi-functional prototype