demo for use basic data structures and algorithms in Java libraries