Create SampleLoc.java

this is main file