bit4444 assignments 2 & 3