Implemented Java program to insert data into latex file