This source code would be some implementation of basic algorithm in java