adding first java sample