Started working on buildTree function. parseImports now returns statement as well.