implementation of markowitz started