Removed debugging print statements along with main method.