Updated comments

Updated code comments. Explained how to test code.