Update heap_spec.rb

Unnecessary variable x removed.
This is my first pull request ever.

Thanks :)