Added aggregate function support
Merge pull request #12 from programcsharp/master

Added aggregate function support