Main method is written