An Open-Source Implementation of the Critical-Line Algorithm for Portfolio Optimization