Update boxcars-0.4.py

randomizes (though the checking function is not complete)