worked on SelectorParser

SelectorParser now parses very basic selectors. Added tests aswell.