Added an example that shows how to catch signals in perl
Added an example that shows how to create and use a class in perl