Implementing important algorithms in computer science