Crating new classe and printing the value of a