Redundancies removed

Python and Racket versions both updated.