Updated code

Added new version of programme that can parse the header, declarations
block, assignment statements, and display statements properly