Implemented Automated Judge Script.