Completed parsing and evaluation of Select query

**Testing is not done yet, waiting for other components to be
implemented.