#6 add clear method to class
#6 clear method test