added solutions for 2 algo academy problems