Added comments and ran the final test

Added comments and ran the final test