I am toying with a lab we received in class. I am specifically looking to achieve as short a solution as I can, code wise. The base code I would be using is below: