created coin class with quantites and values