User blog comment:LittlePeng9/Random Turing machines/@comment-5150073-20130427202925/@comment-1605058-20130428110635

Both issues fixed. You're pretty good at finding mistakes in code :)