Finished histogram and scan in HW4