Example code added

Added example code + file saving function