Rework the getVars function so that we can get a list of typed variables for any block
Tell the user when a variable is undeclared and when a block is orphaned (prelim work, needs to be implimented on all non declare variable blocks)