added getResultSet function for Select, updated execute function to
recognized different SQL functions