Added swp to .gitignore
Added check_symbol def to DataAccess Class.

- Also added some basic tests in the __name__ == __main__ part of file.
Merge pull request #18 from rishabhsagar/master

Added function to check for validity of symbol.