fix Java Algorithms project