my solutions for cs50