Fixed infinine loop bug when the dot was the last character in the file
Moved string formatting out of the AST classes