DataStructures course homework