added class NewClass 
added main method
added test method