added java file
added git ignore