Having fun with computer science algorithms