Removed redundant jdk files
Refactoring: abstracted the Algorithm class
Refactoring