added the Test class, for testing algorithms and stuff