added log4j.properties also implemented Logger for main class
  PLS read examples for logpriority in log4j.properties file