Algorithms course hometasks