Please Update your original post so as to use <code> ... </code> or <c> ... </c> tags around code and output sections rather than using <pre> ... </pre> tags, which screw up site rendering. Please see Writeup Formatting Tips, in particular recommendation 2.