a beautiful day for an algorithm