Added basic java program