Simple java program