More Comments added. Tests with Code formatting with autopep8.