Added code_confirm and exists functions
Merge pull request #2 from TheKirk/patch-1

Added code_confirm and exists functions