Python program output with test cases

This generates random programs. The answers have been checked with node.js.
node.js contains a folder that tests the questions based on a random seed.