modify python solution of q030
add racket solution of q030
add racket solution to q031