implementing queries
Merge branch 'master' of https://github.com/smidget/DatabasesS2014Project