Moving object test  java program

for testing purpose