Got required, B, and A functioanlity all done. Will now clean up code and comment