Add HW phase 2 for CSE274