Added Test class for cs hw2 and some did some cs hw2 work