First homework assignment for data structures and algorithms