adding main method to a code

Printable View