started constructing sast tree
checks for multiple main declarations, multiple function declarations, and multiple variable declarations