Source code for final year project "Infinite Precision Document Formats"