added Python and Racket solutions for problem 2