Implemented everything for Lab 8 and passed the style and functionality tests