added getVariables function to basic blocks; prints to graph as info2
merged