Added function to check top level assignments and return
initial symbol tables