Adding java program

Program enlists the algorithm which was used to make not relational data
relational.