added first java program
small modif