Implementing functionality to export to Excel

This is to resolve issue #225
Merge pull request #233 from jwendl/master

Implementing functionality to export to Excel