hw assignment for a "basic algorithms and data structures" course