Created Employee class and implemented it in main