Throwing and catching exceptions

Added a program that demonstrates throwing and catching exceptions.
Added a simple sample for basic regular expressions usage.