Added a new java file
Edited the java file