move java files to directory for each examples