Tests and Comments

Added some comments in main.cpp and test.txt.