added solutions for an old exercise