lesson 5 with hex printer