Implemented algorithm, still need to debug
extern searching is done
Started setuping up for extern checking
checks for external variables