Added java program and python script