added is valid heap question