setup java files
Added a sample problrm