for data structures and algorithms class