some of my solutions for CC150 questions