adding return capabilities

Conflicts:

	example.txt
Merge pull request #12 from SamuelDeal/return

Adding return capabilities